package HomeWork2;


public class PhoneTest {
    public static void main(String[] args) {
        OldPhone oldPhone = new OldPhone();
        oldPhone.CallPhone();
        oldPhone.SendMessage();

        NewPhone newPhone = new NewPhone();
        newPhone.CallPhone();
        newPhone.SendMessage();
        newPhone.PlayGame();
    }
}
